#ifndef __DeviceManager_H__
#define __DeviceManager_H__

#include <Ogre.h>

#define OIS_DYNAMIC_LIB
#include <OIS/OIS.h>
#include "MouseCursor.h"

using namespace Ogre;

class DeviceManager : public Ogre::Singleton<DeviceManager>
{
	public:
		OIS::InputManager* mInputManager;
		OIS::Mouse* mMouse;
		OIS::Keyboard* mKeyboard;
		MouseCursor* mMouseCursor;
		bool mUseBufferedInputKeys;
		bool mUseBufferedInputMouse;
		
		DeviceManager(Ogre::RenderWindow* mWindow);
		void setBuffered(bool isBuffered);
		virtual ~DeviceManager();
};

#endif